<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language="javascript">
	function authorization(){
		var account = "<%=session.getAttribute("account")%>"
		if(account=="null"){
			alert("您还没有登陆，请先登录！")
		}
	}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
</head>
<body>

<a href="toPersonLoad.action">个人登陆</a>
<a href="toCompanyLoad.action">企业登陆</a>
<a href="function.action" onclick="authorization();">功能</a>
<% if(session.getAttribute("account")!=null){%>
<a href="exit.action" onclick='return confirm("真的要退出？");'>退出</a>
<%} %>
</body>
</html>